package com.isi.mtl.lf.jag.entities;

import java.util.List;

public class Leg {
	
	private List<Step> listOfSteps;
	private Duration mainDuration;
	private Distance mainDistance;
	private Coord mainStartLocation;
	private Coord mainEndLocation;
	private String mainStart_address;
	private String mainEnd_address;
	
	public Leg(){}

	public Leg(List<Step> listOfSteps) {
		super();
		this.listOfSteps = listOfSteps;
	}

	public Leg(List<Step> listOfSteps, Duration mainDuration,
			Distance mainDistance, Coord mainStartLocation,
			Coord mainEndLocation, String mainStart_address,
			String mainEnd_address) {
		super();
		this.listOfSteps = listOfSteps;
		this.mainDuration = mainDuration;
		this.mainDistance = mainDistance;
		this.mainStartLocation = mainStartLocation;
		this.mainEndLocation = mainEndLocation;
		this.mainStart_address = mainStart_address;
		this.mainEnd_address = mainEnd_address;
	}

	//Getters / Setters
	public List<Step> getListOfSteps() {
		return listOfSteps;
	}

	public void setListOfSteps(List<Step> listOfSteps) {
		this.listOfSteps = listOfSteps;
	}

	public Duration getMainDuration() {
		return mainDuration;
	}

	public void setMainDuration(Duration mainDuration) {
		this.mainDuration = mainDuration;
	}

	public Distance getMainDistance() {
		return mainDistance;
	}

	public void setMainDistance(Distance mainDistance) {
		this.mainDistance = mainDistance;
	}

	public Coord getMainStartLocation() {
		return mainStartLocation;
	}

	public void setMainStartLocation(Coord mainStartLocation) {
		this.mainStartLocation = mainStartLocation;
	}

	public Coord getMainEndLocation() {
		return mainEndLocation;
	}

	public void setMainEndLocation(Coord mainEndLocation) {
		this.mainEndLocation = mainEndLocation;
	}

	public String getMainStart_address() {
		return mainStart_address;
	}

	public void setMainStart_address(String mainStart_address) {
		this.mainStart_address = mainStart_address;
	}

	public String getMainEnd_address() {
		return mainEnd_address;
	}

	public void setMainEnd_address(String mainEnd_address) {
		this.mainEnd_address = mainEnd_address;
	}


}
